from django.conf.urls import url
from . import views

urlpatterns = [
    # url(r'^$', views.index,name='index')
    url(r'^register/$', views.register, name='register'),
    url(r'^register_handle/$', views.register_handle, name='register_handle'),
    url(r'^login/$', views.login, name='login'),
    url(r'^login_handle/$', views.login_handle, name='login_handle'),
    url(r'^logout/$', views.logout, name='logout'),
    url(r'^register_handle_name/$', views.register_handle_name, name='register_handle_name'),
    url(r'^center/$', views.center, name='center'),
    url(r'^detail/(\d+)/$', views.detail, name='detail'),
]